package com.runvp.common.enums;


/**
 * 设备上报充电结束(1:计时结束，2：拔电源 3：远程停止 4：充满停止 5：超功率 6：短路)
 * @author xukk_dp
 */

public enum ChargeReportStatus implements BaseEnumInterface{

    TIME_END("1", "计时结束"),
    UNPLUG("2", "拔电源"),
    REMOTE_STOP("3", "远程停止"),
    FULL_STOP("4", "充满停止"),
    OVERPOWER("5", "超功率"),
    SHORT_OUT("6", "短路");

    private final String code;
    private final String desc;
    private String defaulted;

    public String getDefaulted() {
        return defaulted;
    }


    ChargeReportStatus(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }



    ChargeReportStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }
}
